@import url('../font/iconfont.css');

/*通用*/
html,
body {
    height: 100%;
    font-size: 14px;
    font-family: 'PingFang SC,Noto Sans SC,Microsoft YaHei UI,Microsoft YaHei,Segoe UI,Helvetica Neue,Helvetica,Arial,sans-serif';
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.primary {
    text-decoration: underline;
    color: var(--primary-color);
}

.rc-pointer {
    cursor: pointer;
}

/*背景色*/
.rc-bg-white {
    background-color: white;
}

.rc-bg-grey {
    background-color: #FAFBFB;
}

/*文字颜色*/
.rc-text-color-primary {
    color: var(--primary-color) !important;
}

.rc-text-color-grey {
    color: #7b818a;
}

.rc-text-color-error {
    color: #ff5722;
}

.rc-text-color-success {
    color: #016243;
}

.rc-text-color-warn {
    color: #ffb800;
}

/*字体字号*/
.font12 {
    font-size: 12px;
}

.rc-bold {
    font-weight: 600;
}

/*间隔*/
.rc-pagepadding {
    padding: 15px;
}

.rc-pagemargin {
    margin: 15px;
}

.rc-margin-top-default {
    margin-top: 15px;
}

.rc-margin-bottom-default {
    margin-bottom: 15px;
}


.rc-margin-right-default {
    margin-right: 15px;
}

.rc-margin-left-default {
    margin-left: 15px;
}

.rc-padding-top-default {
    padding-top: 15px;
}

.rc-padding-bottom-default {
    padding-bottom: 15px;
}


.rc-padding-right-default {
    padding-right: 15px;
}

.rc-padding-left-default {
    padding-left: 15px;
}

.rc-margin-bottom0 {
    margin-bottom: 0 !important;
}

/*100%高度*/
.height100 {
    min-height: 100%;
    height: 100%;
    box-sizing: border-box;
}

/*flex 布局*/
.rc-flex {
    display: flex;
}

.rc-flex-wrap {
    flex-wrap: wrap;
}

.rc-flex-direction-column {
    flex-direction: column;
}

.rc-flex1 {
    flex: 1;
    overflow-x: hidden
}

.rc-flex-space-around {
    justify-content: space-around;
}

.rc-flex-justify-between {
    justify-content: space-between;
}

.rc-flex-vertical-center {
    align-items: center;
}

.rc-flex-center {
    align-items: center;
    justify-content: center;
}


/*布局*/
.rc-layout {
    padding: 0 !important;
    min-height: 100%;
    height: 100%;
}


/*头部*/
.rc-layout .header {
    height: 56px;
    ;
}

/*Logo*/
.rc-layout .header .logo {
    width: 100%;
    height: 56px;
    width: 65px;
    text-align: center;
    line-height: 56px;
    /* background-color: #f5f6f8; */
    background-color: #e3e9ed;
    box-shadow: inset -1px 0 0 0 #e5ecf0;
}

.rc-layout .header .quick-bar {
    padding: 0 15px;
    line-height: 55px;
    box-shadow: inset 0 -1px 0 0 #e5ecf0;
}


.rc-layout .header .logo img {
    max-width: 100%;
    line-height: 56px;
    max-height: 56px;
    width: 40px;

}

/*面包屑*/
.rc-crumb {
    height: 40px;
    line-height: 40px;
    box-shadow: inset 0 -1px 0 0 #e5ecf0;
    padding: 0 15px;
    text-align: right
}

.rc-crumb .layui-breadcrumb a:hover {
    color: var(--primary-color) !important;
}

/*头部右侧快捷按钮*/
.rc-layout .header .quick-bar .quick-op-btn {
    border: 1px solid #e5ecf0;
    border-radius: 100%;
    color: #909aaa;
    height: 32px;
    text-align: center;
    transition: all .3s;
    width: 32px;
    margin: 0 25px;
    position: relative;
}

.rc-layout .header .quick-bar .quick-op-btn:last-child {
    margin-right: 0;
}

.rc-layout .header .quick-bar .quick-op-btn .layui-badge-dot {
    position: absolute;
    right: 0;
}

.rc-layout .header .quick-bar .quick-op-btn a {
    width: 32px;
    height: 32px;
    display: block;
    line-height: 33px;
    cursor: pointer;
}

.rc-layout .header .quick-bar .quick-op-btn a i.iconfont {
    font-size: 24px;
}

.rc-layout .header .quick-bar .quick-op-btn:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.rc-layout .header .quick-bar .quick-op-btn:hover a i.iconfont {
    color: #fff;
}

/*main主要内容区域*/
.rc-layout .main {
    min-height: calc(100% - 56px);
    /* height: calc(100% - 56px); */
}


/*左侧菜单*/
.rc-layout .main .module-menus {

    width: 65px;
    box-shadow: inset -1px 0 0 0 #e5ecf0;
    /* background-color: #f5f6f8; */
    background-color: #e3e9ed;
}


.rc-layout .main .module-menus a {
    height: 72px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2e405E;
}

.rc-layout .main .module-menus a i.iconfont {
    font-size: 24px;
}

.rc-layout .main .module-menus a .text {
    font-size: 14px;
    line-height: 18px;
    margin-top: 8px;
    font-weight: 600;
}

.rc-layout .main .module-menus a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.rc-layout .main .module-menus a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.rc-layout .main .child-menus {
    width: 200px;
    box-shadow: inset -1px 0 0 0 #e5ecf0;
    /* background-color: #fafbfb; */
    background-color: #f5f6f8;
}

.rc-layout .main .child-menus .bigtitle {}

.rc-layout .main .child-menus .secmenu {
    font-size: 15px;
    padding: 20px 0 10px 0;
}

.rc-layout .main .child-menus .secmenu .iconfont {
    margin-right: 10px;
}

.rc-layout .main .child-menus .thriemenu {

    font-size: 14px;
}

.rc-layout .main .child-menus .thriemenu>a {
    padding: 10px 25px;
    margin: 2px 0;
    display: block;

}

.rc-layout .main .child-menus .thriemenu>a.active,
.rc-layout .main .child-menus .thriemenu>a:hover {
    background-color: var(--primary-color);
    /* color: #2c7ef8 !important; */
    border-radius: 5px;
    color: #fff !important;
}

.rc-layout .main .rightcontent {
    /* min-height: calc(100% - 40px);
    height: calc(100% - 40px); */
    min-height: 100%;
    height: 100%;
}

/*pannel*/
.rc-pannel {
    background-color: #fff;

    border-radius: 4px;
    border: solid 1px #f3f2f2;
}

.rc-pannel .rc-pannel-header {
    border-bottom: 1px solid #e3e9ed;
}

.rc-pannel .rc-pannel-header.nobottom {
    border-bottom: 0;
}

.rc-pannel .rc-pannel-header .title {
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    font-weight: 600;
}

.rc-pannel .rc-pannel-header .toolbar {
    padding: 8px 15px;
}

.rc-pannel .rc-pannel-header .toolbar .checkAll {
    margin-right: 5px;
}

.rc-pannel .rc-pannel-header .toolbar .batch {
    width: 120px;
}

.rc-pannel .rc-pannel-footer {
    width: 100%;
    border-top: 1px solid #e3e9ed;
}

.rc-pannel .rc-pannel-footer .pagebar {
    padding: 0 15px;
}

/*搜索框*/
.rc-searchbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}


.rc-searchbox .layui-input,
.rc-searchbox .layui-textarea {
    width: 150px !important;

}

/*列表表格内操作按钮*/
.rc-list-opbar .opbar:not(:first-child) {
    margin-left: 15px;
}

.rc-list-opbar .opbar {
    cursor: pointer;
}

.rc-list-opbar .opbar .iconfont {
    margin-right: 3px;
}

.rc-list-opbar .opbar:hover {
    color: var(--primary-color);
}

.rc-opbar a:not(:first-child) {
    margin-left: 20px;
}

.rc-opbar a {
    cursor: pointer;
}

.rc-opbar a:hover {
    text-decoration: underline;
    font-weight: 600;
}

.rc-opbar a.info:hover {
    color: var(--primary-color);

}

.rc-opbar a.error:hover {
    color: #bd362f;
}

.rc-opbar a .iconfont {
    font-size: 14px !important;
}

/*重写Layui组件*/
/**dropdown*/
.dropdown-box {
    padding: 8px;
    border-radius: 5px !important;

}

.dropdown-box .item {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.dropdown-box .item:hover {
    background-color: #e3e9ed;
}

.dropdown-box .item .iconfont {
    vertical-align: middle;
    margin-right: 3px;
}

.dropdown-box .drive {
    border-top: 1px solid #e3e9ed;
    height: 1px;
}



/*table*/
.layui-table thead {
    background-color: #f5f6f8 !important;
}

.layui-table-checked {
    background-color: #f2f6fb !important;
}

/*表单*/

.layui-form-item .layui-input-inline {
    width: auto !important;
}

.layui-form-radio>i {
    font-size: 16px !important;
}

.layui-form-label {
    padding: 5px 15px !important;
}

.layui-form-radio {
    margin-top: 1px !important;
}

.layui-input,
.layui-textarea,
.layui-select {
    height: 30px !important;
}

.layui-input-affix {
    line-height: 30px !important;
}

.layui-form-item .layui-form-checkbox[lay-skin="primary"] {
    margin-top: 7px !important;
}


/*按钮*/
.layui-btn-sm .iconfont {
    font-size: 14px;
    vertical-align: middle;
    margin-right: 3px;
}


/*弹出层*/
.layui-layer-title {
    border-bottom: 0 !important
}

.layui-layer {
    border-radius: 4px
}

.layui-layer-title {
    font-weight: 600;
}

/**lay_cascader**/
.el-input__inner,
.el-cascader {
    /* line-height: 30px !important; */
    /* height: 30px !important; */
}

/*toast*/
#toast-container>div {
    opacity: 1 !important;
}


.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}